package com.ecube.protocol.enums;

import lombok.Getter;

/**
 * 充电站
 *  充电桩、充电堆设备
 *
 * @author zhuweijun
 * @version 1.0.0
 * @since 2025/8/11 12:07
 */
@Getter
public enum ChargeFunctionEnum {

    CHARGER_STATE("state", "S2M", "chargerState", "上行-充放设备实时状态"),
    CHARGE_STATE("state", "S2M", "chargeState", "上行-充电实时状态"),
    DISCHARGE_STATE("state", "S2M", "dischargeState", "上行-放电实时状态")

    ;

    /**
     * 类型
     */
    private final String type;

    /**
     * 数据方向
     */
    private final String direction;

    /**
     * 功能标识
     */
    private final String function;

    /**
     * 描述
     */
    private final String desc;

    ChargeFunctionEnum(String type, String direction, String function, String desc) {
        this.type = type;
        this.direction = direction;
        this.function = function;
        this.desc = desc;
    }
}
